package gui;

public class winUser {

	/**
	 * Singleton - replacing c'tor
	 */
	public static winUser instance = new winUser();
	
	public static winUser getInstance(){
		return instance;
	}
	
	
	/**
	 * c'tor: mark that the shell is not opened yet
	 */
	private winUser(){
			
	}


	public void open() {
		//display a window that asks if new user or old-
		//if new- 1.get password and username
				//2.connect to server and check if password is valid- suggest other password
				//ask server to add user and start talking
				//open other gui 
				//add to desktop (other location?) DropBox folder
				//open the shell as for old user
		
	//if old- get password and name, check if valid. 
		//if not - error msg
		//if so, open the other gui, conect to sever get msgs maybe and start talking and listening
		
	}
	
	
}
